package cn.cs.service;

import cn.cs.common.Dto;
import cn.cs.common.Page;
import cn.cs.pojo.AppOrder;
import cn.cs.pojo.ClientRepRel;
import cn.cs.pojo.RepOrder;
import cn.cs.pojo.UserAddress;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface AppOrderService {

    public Dto sendAppOrderMessage(String appId, HttpServletRequest request);

    public Dto getAppOrdersInfo(HttpServletRequest request) throws Exception;

    public Dto dqcUpdateOrderTime(HttpServletRequest request);

    public Dto getAppOrderInfo(String appOrderId, HttpServletRequest request);

    public Dto refuseAppOrder(HttpServletRequest request);









    public List<UserAddress> getUserAddressListById(Map<String, Object> param)throws Exception;

    public Map<String,Object> getAppOrderByAppOrderId(String id)throws Exception;

    public AppOrder getAppOrderById(String id)throws Exception;

    public Integer itriptxAddAppOrder(AppOrder appOrder)throws Exception;

    public Integer modifyAppOrder(AppOrder appOrder)throws Exception;

    public Map<String, Object> getRepUserIdByAppOrderId(String id)throws Exception;

    public Integer itriptxDeleteAppOrderById(Long id)throws Exception;

    public Page<Map<String, Object>> queryRepairOrderPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize) throws Exception;

    public List<Map<String, Object>> getOverTimeAppOrderList();

    public List<Map<String, Object>> getCourierServices();

    public Integer saveCourierServices(String courierCompany, String courierNumber, String id);

    public Dto registerAppOrder(HttpServletRequest request) throws Exception;

    public Dto privateWorker(HttpServletRequest request) throws Exception;

    public Dto updateAppOrderStated(HttpServletRequest request, String userId, String orderState) throws Exception;

    public Dto toRepairOrder(RepOrder repOrder) throws Exception;

    public Dto updateFixedPrice(HttpServletRequest request) throws Exception;



}
